package com.aaa.project.zhreport.service;

import com.aaa.project.zhreport.domain.YwfxFileDownloadRecord;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author baibin
 * @version 1.0
 * @date 2025/4/10 14:04
 * @description YwfxFileDownloadRecordService
 */
public interface YwfxFileDownloadRecordService {

    /**
     * 查询列表
     *
     * @param query
     * @return
     */
    List<YwfxFileDownloadRecord> list(YwfxFileDownloadRecord query);

    /**
     * 下载文件
     *
     * @param id
     * @param response
     */
    void download(Long id, HttpServletResponse response);

    /**
     * 删除
     *
     * @param id
     */
    void delete(Long id);
}
